<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>Sick Code demo</title>
	</head>
	<body>
		<p>Type 'google' to go to <a href="http://google.co.uk/" target="_blank">Google</a>.</p>
		<p>Type 'green' to turn the background of this page green.</p>
		<p>Type &uarr; &darr; &uarr; &darr; to return the background to its default colour.</p>
				
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
		<script src="jquery.code.js"></script>
		<script>
			$(function() {
				$.code({
					code: 'google',
					callback: function() {
						window.location = 'http://google.co.uk/';
					}
				});
				$.code({
					code: 'green',
					callback: function() { $('html').css({background: '#0f0'}); }
				});
			});
		</script>
	</body>
</html>